<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			body {
				margin: 0;
				padding: 0;
			}

			div {
				margin-left: 50px;
				width: 200px;
				height: 100px;
				border: solid 1px #F00;
			}

			#box2 {
				float: left;
				display: inline;
			}
		</style>
	</head>
	<body>
		<div id="box1">基准</div>
		<div id="box2">浮动</div>
	<div><script language="javascript">

	</script></div></body>
</html>
